package com.lingnan.tijian.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lingnan.tijian.domain.Orders;
import com.lingnan.tijian.domain.vo.OrderVO;

import java.util.List;

public interface IOrderService extends IService<Orders> {

    void insertOrder(Orders order);

    /**
     * 查询当前用户预约列表
     * @return
     */
    List<OrderVO> selectOrderListByUserId();

    /**
     * 查询当前用户报告列表
     * @return
     */
    List<OrderVO> selectReportListByUserId();

    /**
     * 取消预约
     * @param id
     */
    void cancelOrderByOrderId(Long id);
}
